package com.note7_5;

import java.io.*;

public class FileCut {

	/*
	 * renameTo  剪切文件
	 */
	public static void main(String[] args) {
		File f = new File("D:/myeclipse/workpace/com/src/com/stu7_5/OutFileTest.txt");
		File f1 = new File("D:/myeclipse/workpace/com/src/com/OutFileTest.txt");
		f1.renameTo(f);
		System.out.println("操作完成");
	}
}
